14 Spreadsheet functions

Fireworkz has a large number of built-in functions for use in spreadsheets:

Additionally, you may create your own custom functions:

Database functions

Database functions provide a set of powerful tools for data analysis.

They perform a mathematical or statistical function on the values of only those cells in a range which meet a corresponding specified condition.

Date and time functions

Date and time functions provide a variety of operations on numbers and text strings which enable you to work with dates and times.

Note that the output of many of these functions which you see displayed on screen will have its appearance modified so that it is in the date or time style specified for the containing cell.

Any dates and times input to all these functions must be supplied in a format which Fireworkz can recognise.

Dates should be entered in the form

day.month.year

where the components are expressed in figures with or without leading zeros.

There must be two full stops and no spaces within the date.

If you only give two digits of the year, Fireworkz will use a sliding window to determine the appropriate century.

Times should be entered in the form

hours:minutes{:seconds}

where the components are expressed in figures with or without leading zeros.

There must be colons between the figures and no spaces within the time.

Engineering functions

Complex number functions

Complex number functions provide arithmetic, mathematical and trigonometrical functions for use with complex numbers, i.e. numbers which have both real and imaginary components.

In Fireworkz complex numbers must be expressed as

Miscellaneous engineering functions

Financial functions

Financial functions perform a range of specialist calculations involving money.

Logical functions

Logical functions provide a set of functions similar to those of the logical operators.

These functions are most useful for Microsoft Excel compatibility.

Lookup functions

Mathematical functions

A range of mathematical functions are provided by Fireworkz.

Matrix functions

Matrix functions work internally on arrays and return an array (or a number, in the case of M_DETERM).

Miscellaneous functions

The following functions perform a wide range of tasks:

Statistical functions

All statistical functions can operate on an array or range of cells.

In those cases where a list is specified as the parameter the function can also take a list of discrete cell references and/or values.

String functions

String functions operate on text strings. If you deliberately enter a string into a number cell, remember to enclose it in double quotes. Unlike other most functions, string functions can also operate on text cells.

Trigonometrical functions

All angles are expressed in radians except where specifically stated.

Compatibility functions

These functions are most useful for Microsoft Excel compatibility.

Engineering compatibility functions

These compatibility complex number functions provide arithmetic, mathematical and trigonometrical functions for use with complex number strings, i.e. text strings representing complex numbers that have both real and imaginary components.

In Fireworkz, complex numbers passed to compatibility complex number functions should be expressed as Open Document / Microsoft Excel-style complex number strings.

Financial compatibility functions

Miscellaneous compatibility functions

Statistical compatibility functions